package com.yan;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * Hello world!
 *
 */


public class App 
{
    public static void main( String[] args )
    {
		AnnotationConfigApplicationContext ac = new AnnotationConfigApplicationContext(Config.class);
		LoginImpl bean = ac.getBean(LoginImpl.class);
		bean.loginCheck("yanheng", "123456");
	}
}
